package bbcom.interfaces;

import bbcom.PropertiesType;

/**
 * Created by Thanh-Trung Pham.
 */
public interface IPropertiesParser {
    /**
     * Get the property from the given properties.
     * @param properties the given properties.
     * @param propertyName property' name.
     * @return the property.
     */
    String getProperty(PropertiesType properties, String propertyName);


    /**
     * Get the host ip from the given properties.
     * @param properties the given properties.
     * @return the host ip.
     */
    String getHost(PropertiesType properties);
}
